fnResize()
window.onresize = function() {
  fnResize()
}

function fnResize() {
  let viewWidth = document.documentElement.clientWidth || window.innerWidth
  let size = 100 / 1920
  document.documentElement.style.fontSize = viewWidth * size + 'px'
}
